/**
 * $Id: Conf.java Dec 15, 2014 5:36:46 PM hdp
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aurora.app.constant;

/**
 * 
 * <p>
 * 创建时间: Dec 15, 2014 5:36:46 PM
 * </p>
 * 
 * @author <a href="mailto:hongdanping@163.com">hdp</a>
 * @version V1.0
 * @since V1.0
 */
public class Conf {

	public static final String SESSION_OPENID = "OPENID";

	public static final String SESSION_USERID = "USERID";

	public static final String SESSION_PHONE_CODE = "PHONE_CODE";

	public static final String SESSION_VALIDATE = "VALIDATE";

	public static final String SESSION_PASSIMG = "PASSIMG";

	public static final String SESSION_PASSPHONE = "PASSPHONE";

	/**
	 * redis access token名称
	 */
	public static final String ACCESS_TOKEN = "ACCESS_TOKEN";
	/**
	 * 阳光果葩
	 */
	public static final String REDIS_YG = "REDIS_YG_NEW";
	/**
	 * 
	 */
	public static final String REDIS_HF = "REDIS_HF_NEW";

	public static final String JS_API = "JS_API";
	/**
	 * 
	 */
	public static final String APPID = "wx65e41110d35f399d";

	/**
	 * 秘钥
	 */
	public static final String SECRET = "fdaf1ab1ca0a0bc5611931111caa6a11";

	/**
	 * 每天获取短信次数
	 */
	public static final int SMS_MAX = 5;

	/**
	 * 短信地址
	 */
	public static final String SMS_HOST = "app.cloopen.com";
	/**
	 * 短信端口
	 */
	public static final String SMS_PORT = "8883";
	/**
	 * 应用ID
	 */
	public static final String SMS_APPID = "8a48b5514d9861c3014d9d8613ed03e0";
	/**
	 * 主帐号名称
	 */
	public static final String SMS_SID = "8a48b55148bbb4140148f2bb64901273";
	/**
	 * 主帐号令牌
	 */
	public static final String SMS_TOKEN = "bdad89c5032d484e86540b2a809a4167";
	/**
	 * 模板id
	 */
	public static final String SMS_TEMPLATE = "71743";
	/**
	 * 每天领取的需要手机确认次数
	 */
	public static final int MAX_GET = 30;

	/**
	 * 当用户输入串码错误次数超于【5】次，系统将冻结该用户账号5小时
	 */
	public static final int MAX_WRONG = 5;

	/**
	 * 串码输入错误总次数超过10次的用户，今后每输错2次，系统将冻结该用户账号5小时
	 */
	public static final int MAX_WRONG_TEN = 2;

	/**
	 * 最大错误次数10次，用于图形验证码和冻结
	 */
	public static final int MAX_ERROR = 10;

	/**
	 * 每天最多领取次数
	 */
	public static final int OVER_GET = 30;
	/**
	 * 未关注页面
	 */
	public static final String SUBCRIBE_URL = "/sub.jsp";
	
	/**
	 * used2生活公众号的id
	 */
	public static final String USED2_ID  = "1";
}
